package com.xinzhidi.web.onlineMonitor.domain;


/**
 * 字段排序
 */
public enum FieldSort {


    // 瞬时热量
    thermalPower(1, "thermal_power"),
    // 瞬时流量
    velocityFlow(2, "velocity_flow"),
    // 供水温度
    waterSupplyTemperature(3, "water_supply_temperature"),
    // 回水温度
    returnWaterTemperature(4, "return_water_temperature"),
    // 累计流量
    totalFlow(5, "total_flow"),
    // 累计热量
    currentHeatOrCold(6, "current_heat_or_cold"),
    // 热量表抄表时间
    thermalCreateTime(7, "heat.create_time"),
    // 阀门表抄表时间
    valveCrateTime(8, "ahv.create_time"),
    // 阀门开度
    setOpen(9, "valve_open");


    // 类型
    private final Integer type;
    // 字段
    private final String tableField;


    FieldSort(Integer type, String tableField) {
        this.type = type;
        this.tableField = tableField;
    }

    public Integer getType() {
        return type;
    }

    public String getTableField() {
        return tableField;
    }
}
